package caiziyou.com.designpattern.bridge;

public class Client {

	public static void main(String[] args) {
		Phone phone = new FoldPhone(new XiaoMi());
		phone.open();
		phone.call();
		phone.close();
		System.out.println("------------------------");
		phone = new UprightPhone(new Vivo());
		phone.open();
		phone.call();
		phone.close();
	}
}
